package de.dehuegel;

public class I extends Tetramino{

	public I(Point2D point){
		super(point);
	}

	@Override
	boolean[][] createNew(Alignment direction) {
		switch(direction){
		case DOWN:
			return new boolean[][]{ {true},{true},{true},{true} };
		case LEFT:
			return new boolean[][]{{true,true,true,true}};
		case RIGHT:
			return new boolean[][]{{true,true,true,true}};
		case TOP:
			return new boolean[][]{{true},{true},{true},{true}};
		default:
			return null;
		}
	}

}
